import request from '@/utils/request';
import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
// 新增告警配置

export const collectData = (data) => getRequest('/iot/collect-data/page', data);

// 区域
export const auth = (data) => getRequest('/system/auth/get-permission-info', data);
export const ProductionIotMachineCollectionDataInfo = (data) => postRequest('/production/iot-machine/collection-data-info', data);
export const productionIotMachineCollectionDataListByTime = (data) => postRequest('/production/iot-machine/collection-data-list-by-time', data);
